package so.sao.shop.supplier.kingdee.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 子订单实体
 * @author gxy on 2017/11/8.
 */
public class Order implements Serializable {
    /**
     * 子订单Id号
     */
    private String oid;

    /**
     * 商品标题
     */
    private String title;

    /**
     * 商品价格。精确到2位小数;单位:元 如:200.07，表示:200元7分
     */
    private BigDecimal price;

    /**
     * 商品数字Id
     */
    private String num_iid;

    /**
     * 购买数量。取值范围：大于零的整数
     */
    private Integer num;

    /**
     * 应付金额（商品价格 * 商品数量 + 手工调整金额 - 子订单级订单优惠金额）。精确到2位小数；单位:元。如:200.07，表示:200元7分。
     */
    private BigDecimal total_fee;

    /**
     * 子订单实付金额
     */
    private BigDecimal payment;

    /**
     * 订单编号
     */
    private String tid;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getNum_iid() {
        return num_iid;
    }

    public void setNum_iid(String num_iid) {
        this.num_iid = num_iid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(BigDecimal total_fee) {
        this.total_fee = total_fee;
    }

    public BigDecimal getPayment() {
        return payment;
    }

    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }
}
